<template>
    <a-config-provider :locale="locale">
        <router-view/>
    </a-config-provider>
</template>
<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
export default {
    data () {
        return {
            locale: zhCN
        }
    }
}
</script>
<style lang="scss">
body {
    margin: 0;
    background-color: #f5f6f7 !important;
}
::-webkit-scrollbar {
    width: 0px;
}
::-webkit-scrollbar-track {
    position: fixed;
    border-radius: 50px;
    right: 0;
}
::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background: rgb(191, 190, 195);
}
.split-page {
    display: flex;
    .f1 {
        flex: 1;
    }
}
.ucenter-common {
    width: 300px;
    margin-right: 24px;
    .main-right-content {
        .right-photo {
            width: 100px;
            height: 100px;
            position: relative;
            margin: auto;
            margin-top: 50px;
            img {
                width: 100px;
                height: 100px;
                border-radius: 50%;
                display: block;
                box-shadow: 0px 0px 10px 6px rgba(0, 0, 0, 0.05);
            }
            .hover-photo {
                display: none;
                position: absolute;
                width: 100px;
                height: 100px;
                top: 51px;
                background: rgba(0, 0, 0, .6);
                border-radius: 50%;
                text-align: center;
                top: 0;
                left: 0;
                align-items: center;
                justify-content: center;
            }
            &:hover .hover-photo {
                display: flex;
            }
        }
        .right-name {
            padding-top: 20px;
            letter-spacing: 0;
            text-align: center;
            font-size: 24px;
            margin-bottom: 0;
        }
        .right-info {
            margin: 0;
            font-size: 11px;
            text-align: center;
        }
        .right-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 20px;
            div.right-icon-has {
                position: relative;
                width: 23px;
                height: 23px;
                margin: 0 10px;
            }
            img {
                width: 23px;
                height: 23px;
            }
            img.right-open {
                position: absolute;
                width: 11px;
                height: 11px;
                right: 0;
                bottom: 0;
            }
        }
    }
}
table.dataintable {
    border-collapse:collapse;
    border:1px solid #ddd;
    width:100%;
    tr:nth-child(odd) {
        background-color:#F5F5F5;
    }
    tr:nth-child(even) {
        background-color:#fff;
    }
    th {
        vertical-align:baseline;
        padding:10px 10px 10px 10px;
        border:1px solid #ddd;
        text-align:left;
    }
    td {
        vertical-align:text-top;
        padding:9px 9px 9px 9px;
        border:1px solid #ddd;
    }
}
</style>
